package com.example.hospital;

import com.example.common.util.annotation.CustomEnableFeignClients;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author juzipi
 * @Date 2021/7/8 8:18
 * @Info
 */
@MapperScan("com.example.hospital.mapper")
@SpringBootApplication
@EnableDiscoveryClient
@CustomEnableFeignClients
public class ServiceHospitalApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceHospitalApplication.class);
    }

}
